package com.example.tool.dao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by liangkun on 2018/8/15.
 * 作用:健康指数数据
 */
@Entity(nameInDb = "heath_index")
public class HealthIndexDomain {
    @Property(nameInDb = "BODY")
    public int body;  //            身体指数 ,
    @Property(nameInDb = "BODYDAYS")
    public int bodyDays;  //           身体连续天数 ,
    @Property(nameInDb = "IMG")
    public String img;  //          头像
    @Property(nameInDb = "RANK")
    public int rank;  //             当天排名 ,
    @Property(nameInDb = "RECORDTIME")
    public String recordTime;  //             记录时间
    @Property(nameInDb = "SCORE")
    public int score;  //            总指数 ,
    @Property(nameInDb = "SLEEP")
    public int sleep;  //               睡眠指数 ,
    @Property(nameInDb = "SLEEPDAYS")
    public int sleepDays;  //             睡眠连续天数 ,
    @Property(nameInDb = "SPORT")
    public int sport;  //             运动指数 ,
    @Property(nameInDb = "SPORTDAYS")
    public int sportDays;  //             运动连续天数 ,
    @Property(nameInDb = "TASKFINISH")
    public String taskFinish;  //            当天任务完成情况
    @Property(nameInDb = "TOTALDAYS")
    public int totalDays;  //        连续坚持天数 ,
    @Property(nameInDb = "USERCREATETIME")
    public String userCreateTime;  //     当日时间
    @Property(nameInDb = "USERID")
    public String userId;  //        用户id
    @Property(nameInDb = "USERNAME")
    public String userName;  //     用户名
    @Generated(hash = 1907711815)
    public HealthIndexDomain(int body, int bodyDays, String img, int rank,
            String recordTime, int score, int sleep, int sleepDays, int sport,
            int sportDays, String taskFinish, int totalDays, String userCreateTime,
            String userId, String userName) {
        this.body = body;
        this.bodyDays = bodyDays;
        this.img = img;
        this.rank = rank;
        this.recordTime = recordTime;
        this.score = score;
        this.sleep = sleep;
        this.sleepDays = sleepDays;
        this.sport = sport;
        this.sportDays = sportDays;
        this.taskFinish = taskFinish;
        this.totalDays = totalDays;
        this.userCreateTime = userCreateTime;
        this.userId = userId;
        this.userName = userName;
    }
    @Generated(hash = 796765489)
    public HealthIndexDomain() {
    }
    public int getBody() {
        return this.body;
    }
    public void setBody(int body) {
        this.body = body;
    }
    public int getBodyDays() {
        return this.bodyDays;
    }
    public void setBodyDays(int bodyDays) {
        this.bodyDays = bodyDays;
    }
    public String getImg() {
        return this.img;
    }
    public void setImg(String img) {
        this.img = img;
    }
    public int getRank() {
        return this.rank;
    }
    public void setRank(int rank) {
        this.rank = rank;
    }
    public String getRecordTime() {
        return this.recordTime;
    }
    public void setRecordTime(String recordTime) {
        this.recordTime = recordTime;
    }
    public int getScore() {
        return this.score;
    }
    public void setScore(int score) {
        this.score = score;
    }
    public int getSleep() {
        return this.sleep;
    }
    public void setSleep(int sleep) {
        this.sleep = sleep;
    }
    public int getSleepDays() {
        return this.sleepDays;
    }
    public void setSleepDays(int sleepDays) {
        this.sleepDays = sleepDays;
    }
    public int getSport() {
        return this.sport;
    }
    public void setSport(int sport) {
        this.sport = sport;
    }
    public int getSportDays() {
        return this.sportDays;
    }
    public void setSportDays(int sportDays) {
        this.sportDays = sportDays;
    }
    public String getTaskFinish() {
        return this.taskFinish;
    }
    public void setTaskFinish(String taskFinish) {
        this.taskFinish = taskFinish;
    }
    public int getTotalDays() {
        return this.totalDays;
    }
    public void setTotalDays(int totalDays) {
        this.totalDays = totalDays;
    }
    public String getUserCreateTime() {
        return this.userCreateTime;
    }
    public void setUserCreateTime(String userCreateTime) {
        this.userCreateTime = userCreateTime;
    }
    public String getUserId() {
        return this.userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getUserName() {
        return this.userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }


}
